package com.ddwl.search;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.data.elasticsearch.repository.config.EnableElasticsearchRepositories;

/**
 * @author Fu Zhaohui
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.ddwl.common.feign.api", "com.ddwl.common.feign.thirdparty"})
@EnableElasticsearchRepositories("com.ddwl.search.esrepository")
public class SearchApplication {


    public static void main(String[] args) {
        SpringApplication.run(SearchApplication.class, args);
    }
}
